//
//  LiveListModel.h
//  EducationLive
//
//  Created by Apple on 2017/10/23.
//  Copyright © 2017年 ZhouHao. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol CarouselModel

@end


@interface CarouselModel : JSONModel // 轮播
// 轮播ID
@property (nonatomic, copy) NSString<Optional> *lunbo_id;
// 轮播图片
@property (nonatomic, copy) NSString<Optional> *img;
// 轮播URL
@property (nonatomic, copy) NSString<Optional> *url;

@end


@protocol CateModel

@end

@interface CateModel : JSONModel // item
// item ID
@property (nonatomic, copy) NSString<Optional> *cate_id;
// item 名字
@property (nonatomic, copy) NSString<Optional> *name;
// item 图片
@property (nonatomic, copy) NSString<Optional> *img;

@end


@protocol RnoticeModel

@end

@interface RnoticeModel : JSONModel // 走马灯
// 走马灯ID
@property (nonatomic, copy) NSString<Optional> *rnotice_id;
// 走马灯内容
@property (nonatomic, copy) NSString<Optional> *name;
// 走马灯URL
@property (nonatomic, copy) NSString<Optional> *url;
// 走马灯图片
@property (nonatomic, copy) NSString<Optional> *img;

@end


@protocol AdvertModel

@end

@interface AdvertModel : JSONModel // 广告
// 广告ID
@property (nonatomic, copy) NSString<Optional> *advert_id;
// 广告URL
@property (nonatomic, copy) NSString<Optional> *url;
// 广告图片
@property (nonatomic, copy) NSString<Optional> *img;

@end


@protocol ContentModel

@end

@interface ContentModel : JSONModel // 直播
// 直播ID
@property (nonatomic, copy) NSString<Optional> *class_id;
// 直播名字
@property (nonatomic, copy) NSString<Optional> *name;
// 直播金额
@property (nonatomic, copy) NSString<Optional> *money;
// 直播图片
@property (nonatomic, copy) NSString<Optional> *img;

@end


@protocol GroupModel

@end

@interface GroupModel : JSONModel // 组内容
// 组图片
@property (nonatomic, copy) NSString<Optional> *img;
// 组名
@property (nonatomic, copy) NSString<Optional> *name;
// 组名数据
@property (nonatomic, strong) NSArray<ContentModel, Optional> *arr;

@end


@protocol LiveListModel

@end

@interface LiveListModel : JSONModel
// 轮播Model
@property (nonatomic, strong) NSArray<CarouselModel, Optional> *lunbo;
// item Model
@property (nonatomic, strong) NSArray<CateModel, Optional> *cate;
// 走马灯Model
@property (nonatomic, strong) NSArray<RnoticeModel, Optional> *rnotice;
// 广告Model
@property (nonatomic, strong) NSArray<AdvertModel, Optional> *advert;
// 内容组Model
@property (nonatomic, strong) NSArray<GroupModel, Optional> *group;

@end

